{loop $theNotebooks $value}
	{if is_array($value)}
		<div class="notelist-item-single" style="height: 1px;"></div>
		<div class="notelist-folder">
			
			<div class="notelist-item notebook-opened notelist-item-notebook-title font-sub" onclick="toggleNotebook(this);"><i class="fa fa-angle-down fa-lg i-notelist-folder-arrow" aria-hidden="true"></i><i class="fa fa-book" aria-hidden="true"></i>{$value[0]}</div>
			{loop $value $note}
				{if is_int($note)}
					<div id="notelist-item-{$note}" class="notelist-item notelist-item-subnote" title="{getNoteTitle($note)}" onclick="loadNote({$note});"><i class="fa fa-file-text" aria-hidden="true"></i>{getNoteTitle($note)}</div>
				{/if}
			{/loop}
			<div class="notelist-item notelist-item-subnote2 font-plus" onclick="newSubnote('{$value[0]}');">
				<i class="fa fa-plus" aria-hidden="true"></i>
				新建
			</div>
		</div>
	{else}
		<div id="notelist-item-{$value}" class="notelist-item notelist-item-single" title="{getNoteTitle($value)}" onclick="loadNote({$value})"><i class="fa fa-file-text" aria-hidden="true"></i>{getNoteTitle($value)}</div>
	{/if}

{/loop}

		<div class="notelist-item-single" style="height: 1px;"></div>
		<div class="notelist-item font-plus" onclick="newNote();">
			<i class="fa fa-plus" aria-hidden="true"></i>
			新建
		</div>
